<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>TwitterM2i© - Inscription</title>
    </h:head>
    <h:body>
        <h:form>
            <h2 align="center">Formulaire d'inscription</h2>
            <h:panelGrid border="1" style="border-color: black;">
                <h:panelGrid  columns="2">
                    Login : <h:inputText  value="#{User.name}" required="true"></h:inputText>
                    Mot de passe : <h:inputSecret value="#{User.password}" required="true"></h:inputSecret>
                    <a /><h:commandButton  value="Inscription" action="#{User.inscription}"></h:commandButton>
                </h:panelGrid>
            </h:panelGrid>

        </h:form>
    </h:body>
</html>

